package SQLAPI;

/**
 * An object that represents the information contained in the web_user table in
 * the database.
 * @author Scott Catsirelis - 000602705
 */
public class WebUser {
    
    int empid,status;
    String pass,email;
    /**
     * Constructor for a WebUser object.
     * @param empid - int - the UserID of the web user.
     * @param email - String - email address of the web user.
     * @param pass - String - Password of the web user.
     * @param status - String - Online or offline status flag. 1=Online 0=Offline.
     */
    public WebUser(int empid, String email, String pass, int status) {
        this.empid = empid;
        this.status = status;
        this.pass = pass;
        this.email = email;
    }

    public int getEmpid() {
        return empid;
    }

    public void setEmpid(int empid) {
        this.empid = empid;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }    
}